<h1 class="ui header">贪心策略</h1>
<div class="ui grid">
    <div class="thirteen wide column">
        <div class="ui one column centered grid">
            <h4 class="ui column center aligned">列对应关系展示</h4>
            <div class="column">
                <dat-table ng-repeat="data in dataTables" data="data"></dat-table>
            </div>
        </div>
    </div>
    <div class="three wide column">
        <div class="ui one column centered grid">
            <h4 class="ui column center aligned">配置项</h4>
            <div class="ui form">
                <div class="field">
                    <label>输入文件路径</label>
                    <label>
                        <i class="plus icon" ng-click="addInput()" style="cursor: pointer;"></i>
                        <i class="minus icon" ng-click="removeInput()" style="cursor: pointer;"></i>
                    </label>
                    <input ng-repeat="inputInfo in inputPaths" type="text" id="input{{inputInfo.id}}"
                           ng-model="inputInfo.value" placeholder="/path/file.csv">
                    <a type="file" ngf-select="uploadFiles($file, $invalidFiles)" ngf-max-size="30MB"
                       class="fluid mini ui bottom attached button center aligned">上传数据</a>
                </div>

                <div class="field">
                    <label>输出文件路径</label>
                    <label>
                        <i class="plus icon" ng-click="addOutput()" style="cursor: pointer;"></i>
                        <i class="minus icon" ng-click="removeOutput()" style="cursor: pointer;"></i>
                    </label>
                    <input ng-repeat="outputInfo in outputPaths" type="text" id="output{{outputInfo.id}}"
                           ng-model="outputInfo.value" placeholder="/path/file.csv">
                </div>

                <button class="fluid ui button primary" ng-click="run()">运行</button>
            </div>
        </div>
    </div>
</div>
